package com.jinghua.treatment.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class SysImMessages {
    private String uuid;

    private String msgTitle;

    private String msgContent;

    private Integer fromId;

    private String fromWechat;

    private Integer toId;

    private String toWechat;


    private Date sendTime;

    private String msgStatus;

    private String msgType;

    private String whos;

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid == null ? null : uuid.trim();
    }

    public String getMsgTitle() {
        return msgTitle;
    }

    public void setMsgTitle(String msgTitle) {
        this.msgTitle = msgTitle == null ? null : msgTitle.trim();
    }

    public String getMsgContent() {
        return msgContent;
    }

    public void setMsgContent(String msgContent) {
        this.msgContent = msgContent == null ? null : msgContent.trim();
    }

    public Integer getFromId() {
        return fromId;
    }

    public void setFromId(Integer fromId) {
        this.fromId = fromId;
    }

    public String getFromWechat() {
        return fromWechat;
    }

    public void setFromWechat(String fromWechat) {
        this.fromWechat = fromWechat == null ? null : fromWechat.trim();
    }

    public Integer getToId() {
        return toId;
    }

    public void setToId(Integer toId) {
        this.toId = toId;
    }

    public String getToWechat() {
        return toWechat;
    }

    public void setToWechat(String toWechat) {
        this.toWechat = toWechat == null ? null : toWechat.trim();
    }
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public String getMsgStatus() {
        return msgStatus;
    }

    public void setMsgStatus(String msgStatus) {
        this.msgStatus = msgStatus == null ? null : msgStatus.trim();
    }

    public String getMsgType() {
        return msgType;
    }

    public void setMsgType(String msgType) {
        this.msgType = msgType == null ? null : msgType.trim();
    }

    public String getWhos() {
        return whos;
    }

    public void setWhos(String whos) {
        this.whos = whos == null ? null : whos.trim();
    }
}